Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(applications): add appsettings for yt01 #1312

Merged
merged 10 commits into from
Oct 17, 2024

Conversation

arealmaas
Copy link
Collaborator

@arealmaas arealmaas commented Oct 17, 2024

Description

Adds appsettings for the new yt01 environment

Related Issue(s)

Verification

  • Your code builds clean without any errors or warnings
  • Manual testing done (required)
  • Relevant automated test added (if you find this hard, leave it and we'll help out)

Documentation

  • Documentation is updated (either in docs-directory, Altinnpedia or a separate linked PR in altinn-studio-docs., if applicable)

Summary by CodeRabbit

  • New Features
    • Introduced new JSON configuration files for the Dialogporten component across multiple modules, enhancing infrastructure and application parameter setups.
    • Added structured settings for Redis, database connections, and authentication configurations for improved operational efficiency.

These changes are essential for the application's functionality, particularly in a test environment.

@arealmaas arealmaas requested a review from a team as a code owner October 17, 2024 08:35
Copy link
Contributor

coderabbitai bot commented Oct 17, 2024

Caution

Review failed

The head commit changed during the review from 2301d30 to 9614f96.

📝 Walkthrough
📝 Walkthrough

Walkthrough

New JSON configuration files have been added for the Dialogporten component across three modules: GraphQL, Janitor, and WebApi. These files, named appsettings.yt01.json, contain structured settings organized into three sections: Infrastructure, Application, and WebApi. The configurations include details for Redis, database connections, Maskinporten, Altinn services, and JWT bearer token schemas, establishing foundational settings necessary for the application's operation in a test environment.

Changes

File Path Change Summary
src/Digdir.Domain.Dialogporten.GraphQL/appsettings.yt01.json New configuration file added with sections for Infrastructure, Application, and WebApi settings.
src/Digdir.Domain.Dialogporten.Janitor/appsettings.yt01.json New configuration file added with sections for Infrastructure, Application, and WebApi settings.
src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json New configuration file added with sections for Infrastructure, Application, and WebApi settings.

Possibly related PRs

Suggested reviewers

  • MagnusSandgren
  • oskogstad

Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (5)
src/Digdir.Domain.Dialogporten.Janitor/appsettings.yt01.json (2)

19-35: LGTM! Application configuration is well-structured.

The Application section is properly configured with the correct BaseUri for the yt01 environment. The use of primary and secondary Ed25519 key pairs is a good practice for key rotation.

Consider adding a brief comment explaining the purpose of the Ed25519 key pairs for better clarity.


36-53: LGTM! WebApi authentication configuration is comprehensive.

The WebApi section properly defines the necessary JWT Bearer token schemas for Maskinporten, Altinn, and Idporten. The WellKnown URLs are correctly set for the test/yt01 environment.

For consistency with the other sections, consider adding a brief comment explaining the purpose of each authentication schema.

src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json (1)

27-43: LGTM: Application section is well-structured. Consider adding a comment for Ed25519 key pairs.

The Application section is correctly configured with appropriate placeholders for sensitive information. The structure for Ed25519 key pairs is consistent and well-organized.

Suggestion for improvement:
Consider adding a brief comment explaining the purpose of the Ed25519 key pairs and their usage in the application. This would enhance the configuration's self-documentation.

Example comment to add above line 30:

// Ed25519 key pairs used for signing and verifying dialogporten tokens
src/Digdir.Domain.Dialogporten.GraphQL/appsettings.yt01.json (2)

27-43: LGTM! Consider documenting key rotation procedures.

The Application section is well-structured with appropriate settings for the yt01 environment. The use of Azure API Management for the BaseUri and the inclusion of both Primary and Secondary Ed25519KeyPairs are good practices.

Consider adding documentation (if not already present) on the procedures for rotating the Ed25519KeyPairs, including how often they should be rotated and the process for updating the configuration when rotation occurs.


1-62: Overall, the configuration looks good and is well-structured.

The appsettings.yt01.json file is properly configured for the yt01 environment, with appropriate settings for Infrastructure, Application, and GraphQl sections. The use of "TODO: Add to local secrets" placeholders for sensitive information is consistent with project practices and security best practices.

To further improve the configuration file:

  1. Consider adding comments to explain any yt01-specific settings or deviations from other environments.
  2. Ensure that all TODO placeholders are replaced with actual values before deployment to the yt01 environment.
  3. Document the process for managing and updating these configuration values, especially for the Ed25519KeyPairs and other sensitive information.
🧰 Tools
🪛 Biome

[error] 7-7: Expected a property but instead found '// Settings from appsettings.json, environment variables or other configuration providers.'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: Expected a property but instead found '// 1. Valid values are test and prod'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-12: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-14: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-18: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 3ffb724 and b0311b5.

📒 Files selected for processing (3)
  • src/Digdir.Domain.Dialogporten.GraphQL/appsettings.yt01.json (1 hunks)
  • src/Digdir.Domain.Dialogporten.Janitor/appsettings.yt01.json (1 hunks)
  • src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json (1 hunks)
🧰 Additional context used
📓 Learnings (3)
src/Digdir.Domain.Dialogporten.GraphQL/appsettings.yt01.json (2)
Learnt from: elsand
PR: digdir/dialogporten#1182
File: src/Digdir.Domain.Dialogporten.Janitor/appsettings.staging.json:4-4
Timestamp: 2024-09-24T11:25:25.336Z
Learning: In this project, "TODO: Add to local secrets" placeholders in configuration files are intentionally used to ensure that missing configurations fail fast and loud. These settings are overridden by Azure app configuration mechanisms, as documented in `docs/Configuration.md`.
Learnt from: elsand
PR: digdir/dialogporten#1182
File: src/Digdir.Domain.Dialogporten.Janitor/appsettings.staging.json:4-4
Timestamp: 2024-10-08T15:39:24.789Z
Learning: In this project, "TODO: Add to local secrets" placeholders in configuration files are intentionally used to ensure that missing configurations fail fast and loud. These settings are overridden by Azure app configuration mechanisms, as documented in `docs/Configuration.md`.
src/Digdir.Domain.Dialogporten.Janitor/appsettings.yt01.json (2)
Learnt from: elsand
PR: digdir/dialogporten#1182
File: src/Digdir.Domain.Dialogporten.Janitor/appsettings.staging.json:4-4
Timestamp: 2024-10-08T15:39:24.789Z
Learning: In this project, "TODO: Add to local secrets" placeholders in configuration files are intentionally used to ensure that missing configurations fail fast and loud. These settings are overridden by Azure app configuration mechanisms, as documented in `docs/Configuration.md`.
Learnt from: elsand
PR: digdir/dialogporten#1182
File: src/Digdir.Domain.Dialogporten.Janitor/appsettings.staging.json:4-4
Timestamp: 2024-09-24T11:25:25.336Z
Learning: In this project, "TODO: Add to local secrets" placeholders in configuration files are intentionally used to ensure that missing configurations fail fast and loud. These settings are overridden by Azure app configuration mechanisms, as documented in `docs/Configuration.md`.
src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json (2)
Learnt from: elsand
PR: digdir/dialogporten#1182
File: src/Digdir.Domain.Dialogporten.Janitor/appsettings.staging.json:4-4
Timestamp: 2024-09-24T11:25:25.336Z
Learning: In this project, "TODO: Add to local secrets" placeholders in configuration files are intentionally used to ensure that missing configurations fail fast and loud. These settings are overridden by Azure app configuration mechanisms, as documented in `docs/Configuration.md`.
Learnt from: elsand
PR: digdir/dialogporten#1182
File: src/Digdir.Domain.Dialogporten.Janitor/appsettings.staging.json:4-4
Timestamp: 2024-10-08T15:39:24.789Z
Learning: In this project, "TODO: Add to local secrets" placeholders in configuration files are intentionally used to ensure that missing configurations fail fast and loud. These settings are overridden by Azure app configuration mechanisms, as documented in `docs/Configuration.md`.
🪛 Biome
src/Digdir.Domain.Dialogporten.GraphQL/appsettings.yt01.json

[error] 7-7: Expected a property but instead found '// Settings from appsettings.json, environment variables or other configuration providers.'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: Expected a property but instead found '// 1. Valid values are test and prod'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-12: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-14: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-18: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)

src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json

[error] 7-7: Expected a property but instead found '// Settings from appsettings.json, environment variables or other configuration providers.'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: Expected a property but instead found '// 1. Valid values are test and prod'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-12: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-14: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-18: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)

🔇 Additional comments (6)
src/Digdir.Domain.Dialogporten.Janitor/appsettings.yt01.json (2)

2-18: LGTM! Infrastructure configuration looks good.

The Infrastructure section is well-structured and includes all necessary components: Redis, DialogDbConnectionString, Maskinporten, and Altinn.

The use of "TODO: Add to local secrets" placeholders is intentional and aligns with the project's practice of ensuring missing configurations fail fast and loud. These settings will be overridden by Azure app configuration mechanisms as documented.


1-54: Overall, the configuration file is well-structured and appropriate for the yt01 environment.

The appsettings.yt01.json file is comprehensive and includes all necessary configurations for the Infrastructure, Application, and WebApi sections. The use of "TODO: Add to local secrets" placeholders is consistent with the project's practices and ensures that sensitive information is handled securely.

The configuration aligns well with the PR objectives of adding application settings for the new yt01 environment. No major issues were found during the review, and only minor suggestions for improvement were made regarding adding brief comments for clarity and consistency.

Great job on setting up this configuration file!

src/Digdir.Domain.Dialogporten.WebApi/appsettings.yt01.json (2)

2-26: LGTM: Infrastructure section is well-structured with appropriate placeholders.

The Infrastructure section is correctly configured with placeholders for sensitive information. This approach, using "TODO: Add to local secrets", is intentional and aligns with the project's practices to ensure missing configurations fail fast and loud.

Key points:

  1. Redis and database connection strings are properly included.
  2. Maskinporten configuration is comprehensive, including environment, client ID, and required scopes.
  3. Altinn configuration includes necessary base URIs and a placeholder for the subscription key.
🧰 Tools
🪛 Biome

[error] 7-7: Expected a property but instead found '// Settings from appsettings.json, environment variables or other configuration providers.'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: Expected a property but instead found '// 1. Valid values are test and prod'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-12: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-14: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-18: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


1-62: Overall: Excellent configuration file for the yt01 environment.

This new appsettings.yt01.json file successfully meets the PR objectives by providing comprehensive configuration for the yt01 environment. Key observations:

  1. The file structure is consistent, well-organized, and easy to read.
  2. Sensitive information is handled appropriately with "TODO: Add to local secrets" placeholders, aligning with the project's practices.
  3. Environment-specific configurations are correctly set for yt01/test, including URLs and other relevant settings.
  4. The configuration covers all necessary aspects: Infrastructure, Application, and WebApi authentication.

Great job on creating a thorough and well-structured configuration file!

🧰 Tools
🪛 Biome

[error] 7-7: Expected a property but instead found '// Settings from appsettings.json, environment variables or other configuration providers.'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: Expected a property but instead found '// 1. Valid values are test and prod'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-12: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-14: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-18: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)

src/Digdir.Domain.Dialogporten.GraphQL/appsettings.yt01.json (2)

2-26: LGTM! Verify Maskinporten scope.

The Infrastructure section is well-structured and appropriate for the yt01 environment. The use of "TODO: Add to local secrets" placeholders is intentional and aligns with the project's configuration practices.

Please verify that the Maskinporten scope on line 15 includes all necessary permissions for this environment:

"Scope": "altinn:events.publish altinn:events.publish.admin altinn:register/partylookup.admin altinn:authorization/authorize.admin altinn:accessmanagement/authorizedparties.admin"

Ensure that these scopes are correct and required for the yt01 environment.

🧰 Tools
🪛 Biome

[error] 7-7: Expected a property but instead found '// Settings from appsettings.json, environment variables or other configuration providers.'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: Expected a property but instead found '// 1. Valid values are test and prod'.

Expected a property here.

(parse)


[error] 9-9: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 10-10: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-11: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 11-12: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-13: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 13-14: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-15: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 15-18: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


[error] 19-19: End of file expected

Use an array for a sequence of values: [1, 2]

(parse)


44-61: LGTM! Verify well-known URLs.

The GraphQl section is well-configured with appropriate JWT Bearer Token Schemas for the yt01 environment. The inclusion of multiple authentication providers (Maskinporten, Altinn, Idporten) demonstrates a comprehensive authentication strategy.

Please verify that the following well-known URLs are correct and up-to-date for the yt01 environment:

  1. Maskinporten: https://test.maskinporten.no/.well-known/oauth-authorization-server/
  2. Altinn: https://platform.yt01.altinn.no/authentication/api/v1/openid/.well-known/openid-configuration
  3. Idporten: https://test.idporten.no/.well-known/openid-configuration

Ensure these URLs are the most current for the test environments of each service.

arealmaas and others added 6 commits October 17, 2024 10:55
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Copy link

arealmaas and others added 3 commits October 17, 2024 11:01
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Co-authored-by: Knut Haug <154342485+knuhau@users.noreply.github.com>
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants