Configuring Simplesaml with Drupal 8 using OKTA - Part 1
Once you configured 'Simplesamlphp' library to your Drupal 8 instance. Follow the below steps to configure OKTA with Drupal 8 using Simplesamlphp library.
- First signin to https://www.okta.com/, using your work email. You will be need to install 'Okta verify' app for logging in.
- After successful registration, your application screen will be as below
- In the above screen, click on the 'Admin' button to goto admin dashboard, there you can create application by navigating 'Add application' page.
- Click on 'Create New App' to create new application.
- Select 'Platform' as 'Web' and 'Sign on method' as SAML 2.0 and click Create.
- Add application name as you like and click 'Next'
- Fill required details in the 'Configure SAML' page as below
- Single sign on URL: 'http://localhost/simplesaml/module.php/saml/sp/saml2-acs.php/default-sp'.
- Here 'http://localhost/simplesaml/' is Simplesaml instance.
- Audience URI (SP Entity ID): 'okta-sso' (Some Unique ID)
- Name ID Format: 'Transient'
- Advanced Settings:
- Response: Signed
- Assertion Signature: Signed
- Signature Algorithm: RSA-SHA256
- Digest Algorithm: SHA256
- Assertion Encryption: Unencrypted
- Authentication context class: PasswordProtectedTransport
- Attribute Statements:
- Add required attributes as you need as shown below
- Click 'Next' after entering all the data required.
- Next is 'Feedback' page, select 'I'm a software vendor' option for field 'Are you a customer or partner?'
- Click 'Finish'. Now your app is created.
- Next you need to configure your Simplesaml instance for OKTA Single Sign On.
Continuation: CONFIGURING SIMPLESAML WITH DRUPAL 8 USING OKTA - PART 2