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

GEOAxIS OIDC-ish Wizard #145

Open
xgp opened this issue Dec 9, 2022 · 0 comments
Open

GEOAxIS OIDC-ish Wizard #145

xgp opened this issue Dec 9, 2022 · 0 comments
Labels
bounty Wizard requests that pay a bounty💰 💵 enhancement New feature or request

Comments

@xgp
Copy link
Member

xgp commented Dec 9, 2022

Example

https://pypi.org/project/django-geoaxis/0.0.2/

Someone else's integration docs

GEOAxIS

Follow these steps to set up GEOAxIS Authentication for the first time if this instance should have GEOAxIS Authentication enabled. Here are the instructions to configure keycloak to use GEOAxIS as an identity provider (IP).

Please make sure to obtain the following prerequisites:

GEOAxIS values:

  • Issuer
  • Client ID
  • Client Secret

Issuer

For our Unclassified Development environment (gxaws.com): openid-configuration

The issuer for that environment is https://oauth.geoaxis.gxaws.com/

Client ID & secret

The following steps need to be completed in order to obtain the client ID and secret. Steps should be executed in the order outlined below:

  1. Generate a user and NPE certificate via CAaaS. See CSaas_Examples.docx
  2. Provide GEOAxIS with the CN of your NPE
  3. Using your user certificate, create & Submit a Consumer Registration at https://portal.gxaws.com/
  4. Complete Environment Registration
    a. Make sure to select “OAuth” during Goal Specification section
  5. Create OIDC Client
    a. Section 3.6.1 of the Identity Broker Integration guide outlines how to create the OIDC client. The response will include the client ID and client secret information and an NPE that has been registered and/or given access to the Identity Broker service is required to create the client

###GEOAxIS setup

  1. Visit the keycloak admin console by browsing to keycloak.<YOURDOMAIN.COM>. Login with the original keycloak credentials provided from the installation process.
  2. On the left hand console, select identity providers & then select “OpenID Connect v1.0”
  3. Please ensure that the “Alias” field is set to “geoaxis” so that the redirect url of this identity provider matches the one that was used to create the openid client. Keycloak can import most of the IP settings automatically. Scroll to the bottom of the page and find the field “Import from URL”. The openid configuration urls take the form: https://<oidc_VIP>/.well-known/openid-configuration.
  4. Enter in client_id and client_secret from the oidc registration process above.
  5. Ensure Client Authentication is set to Client secret sent as basic auth
  6. Clear cookies and cache for your browser and login to the app at https://app./<YOURDOMAIN.COM>
@xgp xgp added the enhancement New feature or request label Dec 9, 2022
@xgp xgp added the bounty Wizard requests that pay a bounty💰 💵 label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bounty Wizard requests that pay a bounty💰 💵 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant