# How to generate nonce from client-side Javascript

**URL:** <https://meta.discourse.org/t/how-to-generate-nonce-from-client-side-javascript/69767>\
**Category:** Development\
**Created:** [September 10, 2017, 9:52pm UTC](https://meta.discourse.org/t/how-to-generate-nonce-from-client-side-javascript/69767 "2017-09-10T21:52:56Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [September 11, 2017, 7:56am UTC](https://meta.discourse.org/t/how-to-generate-nonce-from-client-side-javascript/69767/2 "2017-09-11T07:56:05Z")

</div>

Can’t you just redirect the user to the magic URL that triggers SSO?  
I’m not sure what the URL is and cannot check right now, it’s something like `/session/sso`.

---

_[View the full topic](https://meta.discourse.org/t/how-to-generate-nonce-from-client-side-javascript/69767)._
