Org Web Adapter

journals/2020_11_04.org

ID
11036df6-1652-45d1-8dee-73838c881456

2020-11-04 - Wednesday

[[id:057e5fed-549e-4556-a1ea-36bddccafb56][Stand-up meeting with Andrii]]

<2020-11-04 Wed 8:45-9:00>

[[id:eb7c12ef-917a-456b-af59-9fb90622daf3][Learning SCIM and SAML at 15Five]]

<2020-11-04 Wed 9:00-10:00>

+ Need new mobile auth start point for SAML auth that sets relay state

+ AssertionConsumerServiceView

- when the relay state is set on line 212, check and redirect back to the mobile app

- In theory, could redirect to a deep link but not sure how deep links work

- Add an actual button to provide the deep link to the app

- Generate session token

- Line 197, may not want to log user in if the relay state is a mobile login

+ Now mobile app gets sent token via deep linnk

- New endpoint will look verry similar to mobile metric views

- Returns the `login_with_saml2_repsonse` expected payload

- POST request with session token, verify token and

[[id:f666f784-1570-4f63-aadc-54a5803179c0][Partnership Squad Huddle]]

DONE Verify relay state setting assumption

CLOSED:

- Note taken on

Yup. This works fine. I was able to overload the RelayState with the `next`

parameter on the login url. The one trick is that you have to add the relay

state to the approved relays in our app here:

https://github.com/15five/fifteen5/blob/dev/ff/mods/saml2/views.py#L217

DONE Setup meeting with [[id:afda5d0c-7375-4d9a-b150-a8653af402bc][Yaroslav Skorokhid]] to discuss timeline and details

CLOSED:

DONE Clean up API issues on [[id:4d6d1967-6a53-4766-b773-1b317855604f][ENG-13198]]

CLOSED:

https://15five-dev.atlassian.net/browse/ENG-13198