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

Subdomain for accessmanagement app #29

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

acn-dgopa
Copy link
Member

Description

Related Issue(s)

  • #{issue number}

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)
  • All tests run green

Documentation

  • User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)

.env.template Outdated Show resolved Hide resolved
src/Controllers/HomeController.cs Outdated Show resolved Hide resolved
@@ -410,7 +410,7 @@ private List<SelectListItem> GetAuthenticationLevels(int defaultAuthLevel)
}

private async Task<List<SelectListItem>> GetAppsList()
{
{
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{
{

sub_filter 'https://altinncdn.no/toolkits/altinn-app-frontend/3/' $LOCAL_SUB_FILTER;
proxy_pass http://accessmanagementbff/;
error_page 502 /502Accessmanagement.html;
proxy_cookie_domain altinn3local.no local.altinn.cloud;
Copy link
Member

Choose a reason for hiding this comment

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

proxy_cookie_domain should not be required here, and I’m not sure about the sub_filter

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure about it either. @TheTechArch @tjololo Do you have any comments on this?

Copy link
Member

Choose a reason for hiding this comment

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

You dont need it. Same with Sub filter also I belive. Test without

Copy link
Member Author

Choose a reason for hiding this comment

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

@allinox You can remove the sub_filter and proxy_cookie_domain here and test it out before committing the changes to this branch

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.

4 participants