Okta interview question

rest api and how to design